package cn.south.campus.business.model.entity;

import cn.south.campus.common.model.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * <p>
 * 校园兼职申请表
 * </p>
 *
 * @author chow
 * @since 2025-03-27
 */
@EqualsAndHashCode(callSuper = true)
@TableName("campus_part_time_job_apply")
@Data
public class PartTimeJobApply extends BaseEntity {

    /**
     * 兼职id
     */
    private Long jobId;

    /**
     * 学生id
     */
    private Long userId;

    /**
     * 昵称
     */
    @TableField(exist = false)
    private String nickname;

    /**
     * 用户头像
     */
    @TableField(exist = false)
    private String userAvatar;

    /**
     * 手机号
     */
    @TableField(exist = false)
    private String phone;

    /**
     * 状态,0待审核，1审核通过，2审核拒绝
     */
    private Integer status;

    /**
     * 申请时间
     */
    private LocalDateTime applyTime;
}
